﻿
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">


<html>
	<meta http-equiv="Content-Type" CONTENT="text/html; charset=UTF-8"/>
	<HTA:APPLICATION
		APPLICATIONNAME="Bugslog Software_gener"
		border="normal"
		borderstyle="normal"
		caption="yes"
		icon="ui/senphu.ico"
		scroll="no"
		maximizebutton="yes"
		minimizebutton="yes"
		showintaskbar="yes"
		singleinstance="yes"
		sysmenu="yes"
		version="1.02_0101231"
		windowState="normal"
		>
		<head>
			<title>话痨饭 v1.02_0101231 _附件_算号器</title>
			<!--
			本程序由小魔主动提供，并非他人破解，请放心使用
			-->
			<link rel=stylesheet href="ui/default.css" type="text/css">
			<link rel=stylesheet href="ui/support.css" type="text/css">
			<script language="javascript" src="bin/engine/BugslogCore.dll" ></script>

			<script language="javascript" >
				function init(){
					try{
					bl.core.setPackageRoot("bin/");//设置程序运行目录
					}catch(e){
						alert("程序不完整，或请解压后运行。");
						self.close();
					}			
					
					bl.core.setErrorHandler(function(e){
					var position=e.position||"";
					var line=e.line||"";
					var msg="<b>"+e.name+":</b> "+position+"["+line+"] <font color=red>"+e.message+"</font>";
					document.getElementById("result").innerHTML=msg;
						});//实现运行时错误接口
						
				}
				
				function gen(){
						$import("bl.js.util.Base64");
						var b=new bl.js.util.Base64();
						var from=document.getElementById("username").value;
						
						if(from==""){
							document.getElementById("result").innerHTML="请输入登录账号！";
							return true;
							
						}
						var result=b.encode(from);
						
						document.getElementById("result").innerHTML=result;

					
				}

			</script>


		</head>
		<body onload="init()"  oncontextmenu="return false" >
			<h1>话痨饭_算号器</h1>
			<br />
			输入登录账号<input type="text" id="username" class="txt" title="ctrl+c 复制" /><input type="button" onclick="gen()" class="button" value="生成"/>
			<br />
			<br />
			<div id="result" />
					
		</body>
</html>